a11y: Fix up state / change enum confusion
authorMatthias Clasen <mclasen@redhat.com>
Sat, 24 Oct 2020 15:11:43 +0000 (11:11 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 24 Oct 2020 15:17:56 +0000 (11:17 -0400)
gtk/gtkaccessible.c

index 32916de27b422ccd00eee5e86663b5918a322efd..49fea56fb667a27bbb05dca4993c5569f497f643 100644 (file)
@@ -772,6 +772,6 @@ gtk_accessible_update_children (GtkAccessible           *self,
   if (context == NULL)
     return;
 
-  gtk_at_context_child_changed (context, state, child);
+  gtk_at_context_child_changed (context, 1 << state, child);
   gtk_at_context_update (context);
 }